/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import java.util.List;
import model.Category;

/**
 *
 * @author Student
 */
public interface CategoryDAO {
    public int save(Category category)throws Exception;
    public int delete(int id)throws Exception;
    public int update(Category category)throws Exception;
    public Category getCategoryById(int id)throws Exception;
    public List<Category> getAllCategory()throws Exception;
}
